import React, { FC , useState } from "react";


interface arryType {
     value?:string
} 

interface selectProps {
     fetchCall?:()=>Array<arryType>,
}

const Select:FC<selectProps> = (props)=>{
    
     const [selectArr , dispatchArr] = useState([]);



     return<div>
          <input/>
          {
          selectArr.length===0
          ?
          ''
          :
          <ul>
               {
                    selectArr.map((item)=>{
                         return <li>{item}</li>
                    })
               }
          </ul>
          }
     </div>
};

export default Select;